<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
require("./inc/header.php");



    if( isset($_GET['s']))
    {
        $section = $secure->clean($_GET['s']);
    } else {
        $section = '';
    }

    if ( $section == 'login')
    {
        include("./core/login.php");
    } else if ( $section == 'logout')
    {
        include("./core/logout.php");
    } else
    {
        if ( $account )
        {
            $system->message('Logged In','You are logged in','./?s=logout','Logout');
        } else {
            $system->message('Welcome','You need to login','./?s=login','Login');
        }
    }



require("./inc/footer.php");
?>
